import {
	getRequest,
	postRequest
} from '@/utils/http.ts'
/**我要年检*/
export const annualInspection = (data) => {
	return getRequest(`/wb/app/wbPlan/annual?key=${data}`)
}
/**我要年检（诺贝尔）*/
export const getAnnualInspection = (data) => {
	return getRequest(`/wb/app/wbPlan/selectUserMaintainInfoPage?planType=3`)
}
/**我要月检*/
export const monthlyInspection = (data) => {
	return getRequest(`/wb/app/wbPlan/monthly?key=${data}`)
}

// 提交任务
export const submitCheckList = (data) => {
	return postRequest('/wb/app/wbPlan/todayJob', data)
}

/**工程检测分页*/
export const getEngineering = (data) => {
	return getRequest(`/wb/app/wbPlan/getYearPlanJob`)
}